// 20%-40%
function ratio20to40(ratio) {
    let score = 0
    if (ratio >= 20 && ratio <= 40) score += 10;
    return score
}

// 30%-50%
function ratio30to50(ratio) {
    let score = 0
    if (ratio >= 30 && ratio <= 50) score += 10;
    return score
}

// 40%-60%
function ratio40to60(ratio) {
    let score = 0
    if (ratio >= 40 && ratio <= 60) score += 10;
    return score
}

// 50%-70%
function ratio50to70(ratio) {
    let score = 0
    if (ratio >= 50 && ratio <= 70) score += 10;
    return score
}

// 60%-75%
function ratio60to75(ratio) {
    let score = 0
    if (ratio >= 60 && ratio <= 75) score += 10;
    return score
}

// 60%-80%
function ratio60to80(ratio) {
    let score = 0
    if (ratio >= 60 && ratio <= 80) score += 10;
    return score
}

// 70%-85%
function ratio70to85(ratio) {
    let score = 0
    if (ratio >= 70 && ratio <= 85) score += 10;
    return score
}

// 85%-95%
function ratio85to95(ratio) {
    let score = 0
    if (ratio >= 85 && ratio <= 95) score += 10;
    return score
}

// 90%-95%
function ratio90to95(ratio) {
    let score = 0
    if (ratio >= 90 && ratio <= 95) score += 10;
    return score
}

module.exports = {
    ratio20to40,
    ratio30to50,
    ratio40to60,
    ratio50to70,
    ratio60to75,
    ratio60to80,
    ratio70to85,
    ratio85to95,
    ratio90to95
}